package com.kzj.fun.container;

import com.kzj.fun.container.ScalablePanel;
import com.kzj.fun.graph.SpecialRect;

import java.awt.*;

public class CropBox extends ScalablePanel {
    @Override
    protected void paintComponent(Graphics g) {
        super.paintComponent(g);
        Point startPoint =new Point(0,0);
        Point endPoint=new Point(getWidth(),getHeight());
        new SpecialRect(startPoint,endPoint).draw(g);
    }
}
